package com.uca.authority.conf.domain;

import com.uca.common.annotation.Excel;
import com.uca.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * UCA-配置对象 uca_conf
 * 
 * @author 刘殿生
 * @date 2021-03-30
 */
public class UcaConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 验证项 */
    @Excel(name = "验证项")
    private String checkType;

    /** 系统名称 */
    @Excel(name = "系统名称")
    private String sourceName;

    /** URL */
    @Excel(name = "URL")
    private String source;

    /** 目标系统URL */
    @Excel(name = "目标系统URL")
    private String target;

    /** 帐号状态 */
    @Excel(name = "帐号状态")
    private String status;

    /** 目标系统名称 */
    @Excel(name = "目标系统名称")
    private String targetName;

    /** 标识 */
    @Excel(name = "标识")
    private String sourceFlag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 公钥 */
    @Excel(name = "公钥")
    private String publicKey;

    /** 私钥 */
    private String privateKey;

    /** 测试用户 */
    private String tUser;

    /** 测试法人行 */
    private String tCorporation;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCheckType(String checkType) 
    {
        this.checkType = checkType;
    }

    public String getCheckType() 
    {
        return checkType;
    }
    public void setSourceName(String sourceName) 
    {
        this.sourceName = sourceName;
    }

    public String getSourceName() 
    {
        return sourceName;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setTarget(String target) 
    {
        this.target = target;
    }

    public String getTarget() 
    {
        return target;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTargetName(String targetName) 
    {
        this.targetName = targetName;
    }

    public String getTargetName() 
    {
        return targetName;
    }
    public void setSourceFlag(String sourceFlag) 
    {
        this.sourceFlag = sourceFlag;
    }

    public String getSourceFlag() 
    {
        return sourceFlag;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String gettUser() {
        return tUser;
    }

    public void settUser(String tUser) {
        this.tUser = tUser;
    }

    public String gettCorporation() {
        return tCorporation;
    }

    public void settCorporation(String tCorporation) {
        this.tCorporation = tCorporation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkType", getCheckType())
            .append("sourceName", getSourceName())
            .append("source", getSource())
            .append("target", getTarget())
            .append("status", getStatus())
            .append("targetName", getTargetName())
            .append("sourceFlag", getSourceFlag())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("publicKey", getPublicKey())
            .append("privateKey", getPrivateKey())
            .append("tUser", gettUser())
            .append("tCorporation", gettCorporation())
            .toString();
    }
}
